<!-- inicio interna -->

<div id="titulo">
  <h1>Histórico de Atividades</h1>
  
</div>
<!--<div id="tools">
  <form action="">
    <select name="anoNot" id="anoNot">
      <option>--- anos anteriores ---</option>
      <option>2008</option>
      <option>2007</option>
      <option>2006</option>
    </select>
  </form>
</div>-->
<table cellspacing="3" id="tabelaHome">
  <tr id="cabecaTab">
    <th>Quem</th>
    <th>Fez o que</th>
    <th>Quando</th>
  </tr>
  
  <?php 
  	$classe = 'linhaBranca'; 
  ?>
  
  <?php foreach ($logs as $log): ?>
  	<tr class="<?php echo $classe; ?>">
		<td><?php echo $log['Log']['LOGIN']; ?></td>
		<td><?php echo $log['Log']['ACAO']; ?></td>
		<td><?php echo date('d/m/Y H:i:s', strtotime($log['Log']['DT_HR_ACAO'])); ?></td>
  	</tr>
	<?php 
		if($classe == 'linhaBranca'){
			$classe = 'linhaCinza';
		}else{
			$classe = 'linhaBranca';
		}
	?>
	
   <?php endforeach; ?>

</table>

<ul id="pagination">
	<li><?php echo $paginator->prev('« anterior ', null, null, array('class' => 'off')); ?></li>
		<?php echo $paginator->numbers(); ?>
	<li><?php echo $paginator->next(' próximo »', null, null, array('class' => 'off')); ?></li>
</ul>

<!-- fim interna -->
</div>